<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'showPerson.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  <center>
    <h4>用户详细信息</h4>
    <div style="height: 400px;width: 600px;">
    <div style="float: left;margin-top: 50px;">
    	<img style="margin-top: 30px;margin-left: 60px;height: 230px;" src="admin_cg/zhk/image/zarls.PNG">
    </div>
    <div style="float: right;margin-top: 50px; margin-right: 60px;">
    	<table height="300px">
    		<tr>
    			<td>用户号：</td>
    			<td><s:property value="%{#session.userinfo.userid}"/></td>
    		</tr>
    		<tr>
    			<td>姓名：</td>
    			<td><s:property value="%{#session.userinfo.username}"/></td>
    		</tr>
    		<tr>
    			<td>密码：</td>
    			<td><s:property value="%{#session.userinfo.password}"/></td>
    		</tr>
    		<tr>
    			<td>部门：</td>
    			<td><s:property value="%{#session.userinfo.departid}"/></td>
    		</tr>
    		<tr>
    			<td>性别</td>
    			<td><s:property value="%{#session.userinfo.gender}"/></td>
    		</tr>
    		<tr>
    			<td>角色：</td>
    			<td><s:property value="%{#session.userinfo.roleinfo.rolename}"/></td>
    		</tr>
    		<tr>
    			<td>用户状态：</td>
    			<td><s:property value="%{#session.userinfo.userstate.userstatename}"/></td>
    		</tr>
    	</table>
    	
    </div>
    
    </div>
    <input type="button" onclick="location.href='admin_pg/zhk/showUserInfo.jsp'" value="返回">
    </center>
  </body>
</html>
